Logic in Computer Science
نویسنده
چکیده
Example 1. Show that every amount of change n ≥ 8 can be paid with only 3c and 5c coins. Proof: Suppose, for the sake of contradiction, that there are some values of n ≥ 8 such that it is not possible to pay n with 3c and 5c coins. Take the set of all such values. Since all of them are natural numbers, there is, by well-ordering principle, a minimal element in this set; let’s call it k. Now, consider number k − 3. There are two possibilities. First, it can be that k − 3 < 8. Since k ≥ 8 the only choices for k are 8, 9 and 10. But 8 = 3 + 5, 9 = 3 ∗ 3 and 10 = 5 ∗ 2, so in all these cases k is representable by a sum of 3s and 5s. So it should be that k − 3 ≥ 8. But then, k − 3 is not representable as a sum of 3s and 5s either (otherwise if k − 3 = 3i + 5j, then k = 3(i + 1) + 5j.) But this contradicts the fact that k was the smallest such element, given to us by the well-ordering principle. Therefore, every n ≥ 8 is representable as a sum of 3s and 5s.
منابع مشابه
Evaluation of Planet Factors of Smart City through Multi-layer Fuzzy Logic (MFL)
Internet of Things (IoT) approach is empowering smart city creativities all over the world. There is no specific tool or criteria for the evaluation of the services offered by the smart city. In this paper, a new Multilayer Fuzzy Inference System (MFIS) is proposed for the assessment of the Planet Factors of smart city (PFSC). The PFSC system is categorized into two levels. The proposed MFIS ba...
متن کاملImproving Performance of Opportunistic Routing Protocol using Fuzzy Logic for Vehicular Ad-hoc Networks in Highways
Vehicular ad hoc networks are an emerging technology with an extensive capability in various applications including vehicles safety, traffic management and intelligent transportation systems. Considering the high mobility of vehicles and their inhomogeneous distributions, designing an efficient routing protocol seems necessary. Given the fact that a road is crowded at some sections and is not c...
متن کاملOn the compactness property of extensions of first-order G"{o}del logic
We study three kinds of compactness in some variants of G"{o}del logic: compactness,entailment compactness, and approximate entailment compactness.For countable first-order underlying language we use the Henkinconstruction to prove the compactness property of extensions offirst-order g logic enriched by nullary connective or the Baaz'sprojection connective. In the case of uncountable first-orde...
متن کاملSystematic literature review of fuzzy logic based text summarization
Information Overloadrq is not a new term but with the massive development in technology which enables anytime, anywhere, easy and unlimited access; participation & publishing of information has consequently escalated its impact. Assisting userslq informational searches with reduced reading surfing time by extracting and evaluating accurate, authentic & relevant information are the primary c...
متن کاملApplications of Fuzzy Program Graph in Symbolic Checking of Fuzzy Flip-Flops
All practical digital circuits are usually a mixture of combinational and sequential logic. Flip–flops are essential to sequential logic therefore fuzzy flip–flops are considered to be among the most essential topics of fuzzy digital circuit. The concept of fuzzy digital circuit is among the most interesting applications of fuzzy sets and logic due to the fact that if there has to be an ultimat...
متن کاملRisk Analysis in E-commerce via Fuzzy Logic
This paper describes the development of a fuzzy decision support system (FDSS) for the assessment of risk in E-commerce (EC) development. A Web-based prototype FDSS is suggested to assist EC project managers in identifying potential EC risk factors and the corresponding project risks. A risk analysis model for EC development using a fuzzy set approach is proposed and incorporated into the FDSS....
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2017